package com.ttj.domain.oracle.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WebPrizeCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    public WebPrizeCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPrizeIdIsNull() {
            addCriterion("PRIZE_ID is null");
            return (Criteria) this;
        }

        public Criteria andPrizeIdIsNotNull() {
            addCriterion("PRIZE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeIdEqualTo(Integer value) {
            addCriterion("PRIZE_ID =", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdNotEqualTo(Integer value) {
            addCriterion("PRIZE_ID <>", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdGreaterThan(Integer value) {
            addCriterion("PRIZE_ID >", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRIZE_ID >=", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdLessThan(Integer value) {
            addCriterion("PRIZE_ID <", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdLessThanOrEqualTo(Integer value) {
            addCriterion("PRIZE_ID <=", value, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdIn(List<Integer> values) {
            addCriterion("PRIZE_ID in", values, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdNotIn(List<Integer> values) {
            addCriterion("PRIZE_ID not in", values, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdBetween(Integer value1, Integer value2) {
            addCriterion("PRIZE_ID between", value1, value2, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("PRIZE_ID not between", value1, value2, "prizeId");
            return (Criteria) this;
        }

        public Criteria andPrizeNameIsNull() {
            addCriterion("PRIZE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andPrizeNameIsNotNull() {
            addCriterion("PRIZE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeNameEqualTo(String value) {
            addCriterion("PRIZE_NAME =", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameNotEqualTo(String value) {
            addCriterion("PRIZE_NAME <>", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameGreaterThan(String value) {
            addCriterion("PRIZE_NAME >", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameGreaterThanOrEqualTo(String value) {
            addCriterion("PRIZE_NAME >=", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameLessThan(String value) {
            addCriterion("PRIZE_NAME <", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameLessThanOrEqualTo(String value) {
            addCriterion("PRIZE_NAME <=", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameLike(String value) {
            addCriterion("PRIZE_NAME like", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameNotLike(String value) {
            addCriterion("PRIZE_NAME not like", value, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameIn(List<String> values) {
            addCriterion("PRIZE_NAME in", values, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameNotIn(List<String> values) {
            addCriterion("PRIZE_NAME not in", values, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameBetween(String value1, String value2) {
            addCriterion("PRIZE_NAME between", value1, value2, "prizeName");
            return (Criteria) this;
        }

        public Criteria andPrizeNameNotBetween(String value1, String value2) {
            addCriterion("PRIZE_NAME not between", value1, value2, "prizeName");
            return (Criteria) this;
        }

        public Criteria andIndateIsNull() {
            addCriterion("INDATE is null");
            return (Criteria) this;
        }

        public Criteria andIndateIsNotNull() {
            addCriterion("INDATE is not null");
            return (Criteria) this;
        }

        public Criteria andIndateEqualTo(Date value) {
            addCriterion("INDATE =", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotEqualTo(Date value) {
            addCriterion("INDATE <>", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateGreaterThan(Date value) {
            addCriterion("INDATE >", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateGreaterThanOrEqualTo(Date value) {
            addCriterion("INDATE >=", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateLessThan(Date value) {
            addCriterion("INDATE <", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateLessThanOrEqualTo(Date value) {
            addCriterion("INDATE <=", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateIn(List<Date> values) {
            addCriterion("INDATE in", values, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotIn(List<Date> values) {
            addCriterion("INDATE not in", values, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateBetween(Date value1, Date value2) {
            addCriterion("INDATE between", value1, value2, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotBetween(Date value1, Date value2) {
            addCriterion("INDATE not between", value1, value2, "indate");
            return (Criteria) this;
        }

        public Criteria andPrizeNumIsNull() {
            addCriterion("PRIZE_NUM is null");
            return (Criteria) this;
        }

        public Criteria andPrizeNumIsNotNull() {
            addCriterion("PRIZE_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeNumEqualTo(Integer value) {
            addCriterion("PRIZE_NUM =", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumNotEqualTo(Integer value) {
            addCriterion("PRIZE_NUM <>", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumGreaterThan(Integer value) {
            addCriterion("PRIZE_NUM >", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("PRIZE_NUM >=", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumLessThan(Integer value) {
            addCriterion("PRIZE_NUM <", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumLessThanOrEqualTo(Integer value) {
            addCriterion("PRIZE_NUM <=", value, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumIn(List<Integer> values) {
            addCriterion("PRIZE_NUM in", values, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumNotIn(List<Integer> values) {
            addCriterion("PRIZE_NUM not in", values, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumBetween(Integer value1, Integer value2) {
            addCriterion("PRIZE_NUM between", value1, value2, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizeNumNotBetween(Integer value1, Integer value2) {
            addCriterion("PRIZE_NUM not between", value1, value2, "prizeNum");
            return (Criteria) this;
        }

        public Criteria andPrizePointIsNull() {
            addCriterion("PRIZE_POINT is null");
            return (Criteria) this;
        }

        public Criteria andPrizePointIsNotNull() {
            addCriterion("PRIZE_POINT is not null");
            return (Criteria) this;
        }

        public Criteria andPrizePointEqualTo(Double value) {
            addCriterion("PRIZE_POINT =", value, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointNotEqualTo(Double value) {
            addCriterion("PRIZE_POINT <>", value, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointGreaterThan(Double value) {
            addCriterion("PRIZE_POINT >", value, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointGreaterThanOrEqualTo(Double value) {
            addCriterion("PRIZE_POINT >=", value, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointLessThan(Double value) {
            addCriterion("PRIZE_POINT <", value, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointLessThanOrEqualTo(Double value) {
            addCriterion("PRIZE_POINT <=", value, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointIn(List<Double> values) {
            addCriterion("PRIZE_POINT in", values, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointNotIn(List<Double> values) {
            addCriterion("PRIZE_POINT not in", values, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointBetween(Double value1, Double value2) {
            addCriterion("PRIZE_POINT between", value1, value2, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andPrizePointNotBetween(Double value1, Double value2) {
            addCriterion("PRIZE_POINT not between", value1, value2, "prizePoint");
            return (Criteria) this;
        }

        public Criteria andXubiIsNull() {
            addCriterion("XUBI is null");
            return (Criteria) this;
        }

        public Criteria andXubiIsNotNull() {
            addCriterion("XUBI is not null");
            return (Criteria) this;
        }

        public Criteria andXubiEqualTo(Double value) {
            addCriterion("XUBI =", value, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiNotEqualTo(Double value) {
            addCriterion("XUBI <>", value, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiGreaterThan(Double value) {
            addCriterion("XUBI >", value, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiGreaterThanOrEqualTo(Double value) {
            addCriterion("XUBI >=", value, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiLessThan(Double value) {
            addCriterion("XUBI <", value, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiLessThanOrEqualTo(Double value) {
            addCriterion("XUBI <=", value, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiIn(List<Double> values) {
            addCriterion("XUBI in", values, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiNotIn(List<Double> values) {
            addCriterion("XUBI not in", values, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiBetween(Double value1, Double value2) {
            addCriterion("XUBI between", value1, value2, "xubi");
            return (Criteria) this;
        }

        public Criteria andXubiNotBetween(Double value1, Double value2) {
            addCriterion("XUBI not between", value1, value2, "xubi");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("FLAG is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(Integer value) {
            addCriterion("FLAG =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(Integer value) {
            addCriterion("FLAG <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(Integer value) {
            addCriterion("FLAG >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("FLAG >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(Integer value) {
            addCriterion("FLAG <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(Integer value) {
            addCriterion("FLAG <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<Integer> values) {
            addCriterion("FLAG in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<Integer> values) {
            addCriterion("FLAG not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(Integer value1, Integer value2) {
            addCriterion("FLAG between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("FLAG not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andImgPathIsNull() {
            addCriterion("IMG_PATH is null");
            return (Criteria) this;
        }

        public Criteria andImgPathIsNotNull() {
            addCriterion("IMG_PATH is not null");
            return (Criteria) this;
        }

        public Criteria andImgPathEqualTo(String value) {
            addCriterion("IMG_PATH =", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathNotEqualTo(String value) {
            addCriterion("IMG_PATH <>", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathGreaterThan(String value) {
            addCriterion("IMG_PATH >", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathGreaterThanOrEqualTo(String value) {
            addCriterion("IMG_PATH >=", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathLessThan(String value) {
            addCriterion("IMG_PATH <", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathLessThanOrEqualTo(String value) {
            addCriterion("IMG_PATH <=", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathLike(String value) {
            addCriterion("IMG_PATH like", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathNotLike(String value) {
            addCriterion("IMG_PATH not like", value, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathIn(List<String> values) {
            addCriterion("IMG_PATH in", values, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathNotIn(List<String> values) {
            addCriterion("IMG_PATH not in", values, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathBetween(String value1, String value2) {
            addCriterion("IMG_PATH between", value1, value2, "imgPath");
            return (Criteria) this;
        }

        public Criteria andImgPathNotBetween(String value1, String value2) {
            addCriterion("IMG_PATH not between", value1, value2, "imgPath");
            return (Criteria) this;
        }

        public Criteria andThumbnailsIsNull() {
            addCriterion("THUMBNAILS is null");
            return (Criteria) this;
        }

        public Criteria andThumbnailsIsNotNull() {
            addCriterion("THUMBNAILS is not null");
            return (Criteria) this;
        }

        public Criteria andThumbnailsEqualTo(String value) {
            addCriterion("THUMBNAILS =", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsNotEqualTo(String value) {
            addCriterion("THUMBNAILS <>", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsGreaterThan(String value) {
            addCriterion("THUMBNAILS >", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsGreaterThanOrEqualTo(String value) {
            addCriterion("THUMBNAILS >=", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsLessThan(String value) {
            addCriterion("THUMBNAILS <", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsLessThanOrEqualTo(String value) {
            addCriterion("THUMBNAILS <=", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsLike(String value) {
            addCriterion("THUMBNAILS like", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsNotLike(String value) {
            addCriterion("THUMBNAILS not like", value, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsIn(List<String> values) {
            addCriterion("THUMBNAILS in", values, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsNotIn(List<String> values) {
            addCriterion("THUMBNAILS not in", values, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsBetween(String value1, String value2) {
            addCriterion("THUMBNAILS between", value1, value2, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andThumbnailsNotBetween(String value1, String value2) {
            addCriterion("THUMBNAILS not between", value1, value2, "thumbnails");
            return (Criteria) this;
        }

        public Criteria andDetailpicsIsNull() {
            addCriterion("DETAILPICS is null");
            return (Criteria) this;
        }

        public Criteria andDetailpicsIsNotNull() {
            addCriterion("DETAILPICS is not null");
            return (Criteria) this;
        }

        public Criteria andDetailpicsEqualTo(String value) {
            addCriterion("DETAILPICS =", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsNotEqualTo(String value) {
            addCriterion("DETAILPICS <>", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsGreaterThan(String value) {
            addCriterion("DETAILPICS >", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsGreaterThanOrEqualTo(String value) {
            addCriterion("DETAILPICS >=", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsLessThan(String value) {
            addCriterion("DETAILPICS <", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsLessThanOrEqualTo(String value) {
            addCriterion("DETAILPICS <=", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsLike(String value) {
            addCriterion("DETAILPICS like", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsNotLike(String value) {
            addCriterion("DETAILPICS not like", value, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsIn(List<String> values) {
            addCriterion("DETAILPICS in", values, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsNotIn(List<String> values) {
            addCriterion("DETAILPICS not in", values, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsBetween(String value1, String value2) {
            addCriterion("DETAILPICS between", value1, value2, "detailpics");
            return (Criteria) this;
        }

        public Criteria andDetailpicsNotBetween(String value1, String value2) {
            addCriterion("DETAILPICS not between", value1, value2, "detailpics");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoIsNull() {
            addCriterion("PRIZE_INFO is null");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoIsNotNull() {
            addCriterion("PRIZE_INFO is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoEqualTo(String value) {
            addCriterion("PRIZE_INFO =", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotEqualTo(String value) {
            addCriterion("PRIZE_INFO <>", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoGreaterThan(String value) {
            addCriterion("PRIZE_INFO >", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoGreaterThanOrEqualTo(String value) {
            addCriterion("PRIZE_INFO >=", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoLessThan(String value) {
            addCriterion("PRIZE_INFO <", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoLessThanOrEqualTo(String value) {
            addCriterion("PRIZE_INFO <=", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoLike(String value) {
            addCriterion("PRIZE_INFO like", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotLike(String value) {
            addCriterion("PRIZE_INFO not like", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoIn(List<String> values) {
            addCriterion("PRIZE_INFO in", values, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotIn(List<String> values) {
            addCriterion("PRIZE_INFO not in", values, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoBetween(String value1, String value2) {
            addCriterion("PRIZE_INFO between", value1, value2, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotBetween(String value1, String value2) {
            addCriterion("PRIZE_INFO not between", value1, value2, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("MONEY is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(Double value) {
            addCriterion("MONEY =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(Double value) {
            addCriterion("MONEY <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(Double value) {
            addCriterion("MONEY >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("MONEY >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(Double value) {
            addCriterion("MONEY <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(Double value) {
            addCriterion("MONEY <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<Double> values) {
            addCriterion("MONEY in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<Double> values) {
            addCriterion("MONEY not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(Double value1, Double value2) {
            addCriterion("MONEY between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(Double value1, Double value2) {
            addCriterion("MONEY not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andIshotIsNull() {
            addCriterion("ISHOT is null");
            return (Criteria) this;
        }

        public Criteria andIshotIsNotNull() {
            addCriterion("ISHOT is not null");
            return (Criteria) this;
        }

        public Criteria andIshotEqualTo(Integer value) {
            addCriterion("ISHOT =", value, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotNotEqualTo(Integer value) {
            addCriterion("ISHOT <>", value, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotGreaterThan(Integer value) {
            addCriterion("ISHOT >", value, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotGreaterThanOrEqualTo(Integer value) {
            addCriterion("ISHOT >=", value, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotLessThan(Integer value) {
            addCriterion("ISHOT <", value, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotLessThanOrEqualTo(Integer value) {
            addCriterion("ISHOT <=", value, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotIn(List<Integer> values) {
            addCriterion("ISHOT in", values, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotNotIn(List<Integer> values) {
            addCriterion("ISHOT not in", values, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotBetween(Integer value1, Integer value2) {
            addCriterion("ISHOT between", value1, value2, "ishot");
            return (Criteria) this;
        }

        public Criteria andIshotNotBetween(Integer value1, Integer value2) {
            addCriterion("ISHOT not between", value1, value2, "ishot");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("CATEGORY_ID is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("CATEGORY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Integer value) {
            addCriterion("CATEGORY_ID =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Integer value) {
            addCriterion("CATEGORY_ID <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Integer value) {
            addCriterion("CATEGORY_ID >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("CATEGORY_ID >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Integer value) {
            addCriterion("CATEGORY_ID <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("CATEGORY_ID <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Integer> values) {
            addCriterion("CATEGORY_ID in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Integer> values) {
            addCriterion("CATEGORY_ID not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("CATEGORY_ID between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("CATEGORY_ID not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeIsNull() {
            addCriterion("ISRECPRIZE is null");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeIsNotNull() {
            addCriterion("ISRECPRIZE is not null");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeEqualTo(Integer value) {
            addCriterion("ISRECPRIZE =", value, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeNotEqualTo(Integer value) {
            addCriterion("ISRECPRIZE <>", value, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeGreaterThan(Integer value) {
            addCriterion("ISRECPRIZE >", value, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ISRECPRIZE >=", value, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeLessThan(Integer value) {
            addCriterion("ISRECPRIZE <", value, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeLessThanOrEqualTo(Integer value) {
            addCriterion("ISRECPRIZE <=", value, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeIn(List<Integer> values) {
            addCriterion("ISRECPRIZE in", values, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeNotIn(List<Integer> values) {
            addCriterion("ISRECPRIZE not in", values, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeBetween(Integer value1, Integer value2) {
            addCriterion("ISRECPRIZE between", value1, value2, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andIsrecprizeNotBetween(Integer value1, Integer value2) {
            addCriterion("ISRECPRIZE not between", value1, value2, "isrecprize");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("DESCRIPTION =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("DESCRIPTION <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("DESCRIPTION >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("DESCRIPTION <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("DESCRIPTION like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("DESCRIPTION not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("DESCRIPTION in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("DESCRIPTION not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("DESCRIPTION between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("DESCRIPTION not between", value1, value2, "description");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table WEB_PRIZE
     *
     * @mbg.generated do_not_delete_during_merge Wed Jul 12 08:41:20 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}